#include "eighdr.h"
void out(char *arr[]){
  int i;
  for(i=0; i < 4; i++){
    printf("%s\n",arr[i]);
  }
}
int main(void){
  char *arr[] = { "Zep","Aus","Amer","Prog"};
  int i,j;
  char *tmp;
  for(i=0; i < 4; i++){
    for(j= i+1; j < 4; j++){
      if((strcmp(arr[i],arr[j])) > 0){
	  tmp = arr[i];
	  arr[i] = arr[j];
	  arr[j] = tmp;
      }
    }
  }
  out(arr);
  return 0;
}
